package dome6Test;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Set;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class place {
    private List name;
//    private String name2;
    private int num;

    @Override
    public String toString() {
        return name+"共选择了"+num+"次";
    }
}
